package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 审批流配置对象 audit_node
 * 
 * @author ruoyi
 * @date 2025-11-07
 */
@TableName("audit_node")
public class AuditNode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long auditNodeId;

    /** 审核业务类型，取字典 */
    @Excel(name = "审核业务类型，取字典")
    private String auditBusinessType;

    /** 节点的审核模式，取字典 */
    @Excel(name = "审核模式，取字典")
    private String auditMode;

    /** 审批角色id */
    @Excel(name = "审批角色id")
    private Long auditRoleId;

    /** 抄送角色id，逗号拼接 */
    @Excel(name = "抄送角色id，逗号拼接")
    private String copyRoleIds;

    /** 审核顺序 */
    @Excel(name = "审核顺序")
    private Integer auditOrder;

    public void setAuditNodeId(Long auditNodeId) 
    {
        this.auditNodeId = auditNodeId;
    }

    public Long getAuditNodeId() 
    {
        return auditNodeId;
    }

    public void setAuditBusinessType(String auditBusinessType) 
    {
        this.auditBusinessType = auditBusinessType;
    }

    public String getAuditBusinessType() 
    {
        return auditBusinessType;
    }

    public void setAuditMode(String auditMode)
    {
        this.auditMode = auditMode;
    }

    public String getAuditMode()
    {
        return auditMode;
    }

    public void setAuditRoleId(Long auditRoleId) 
    {
        this.auditRoleId = auditRoleId;
    }

    public Long getAuditRoleId() 
    {
        return auditRoleId;
    }

    public void setCopyRoleIds(String copyRoleIds) 
    {
        this.copyRoleIds = copyRoleIds;
    }

    public String getCopyRoleIds() 
    {
        return copyRoleIds;
    }

    public void setAuditOrder(Integer auditOrder)
    {
        this.auditOrder = auditOrder;
    }

    public Integer getAuditOrder()
    {
        return auditOrder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("auditNodeId", getAuditNodeId())
            .append("auditBusinessType", getAuditBusinessType())
            .append("auditMode", getAuditMode())
            .append("auditRoleId", getAuditRoleId())
            .append("copyRoleIds", getCopyRoleIds())
            .append("auditOrder", getAuditOrder())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}